﻿@{
    ViewData["Title"] = "Home Page";
}
@using System.Collections.Generic;
@using Centa.Agency.Application.Entity;

    <div class="table">
        <table>
            <tr>
                <td>Id</td>
                <td>Name</td>
                <td>Moblie</td>
                <td>Edit</td>
            </tr>
            @foreach (var item in Model as List<UserInfo>)
            {
                <tr>
                    <td>@item.Id</td>
                    <td>@item.Name</td>
                    <td>@item.Moblie</td>
                    <td><a href="/Home/Edit?Id=@item.Id">Edit</a></td>
                </tr>
            }

        </table>
    </div>
